import GameLogic from "../../GameLogic";
import { GameMode } from "../../GCConnection";
import GCGlobal from "../../GCGlobal";
import { GameState } from "./GameState";

export class SurvivalState extends GameState {
    mode: GameMode = GameMode.SURVIVAL;

    async enter(logic: GameLogic): Promise<void> {
        super.enter(logic).then(() => {
            GCGlobal.Account.survivalCount -= 1;
        })
    }
}
